From: Keir Fraser Date: Wed, 15 Dec 2010 12:12:30 +0000 (+0000) Subject: x86/mm: make paging_map_log_dirty_bitmap() static X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=2a8b89ef84ea0a55cc0842e3cad27c7ca12410b5;p=xen.git x86/mm: make paging_map_log_dirty_bitmap() static now that its only caller outside paging.c has been removed. Signed-off-by: Tim Deegan --- diff --git a/xen/arch/x86/mm/paging.c b/xen/arch/x86/mm/paging.c index f429d0b337..1436add2a3 100644 --- a/xen/arch/x86/mm/paging.c +++ b/xen/arch/x86/mm/paging.c @@ -132,7 +132,8 @@ static mfn_t paging_new_log_dirty_node(struct domain *d, mfn_t **node_p) return mfn; } -mfn_t *paging_map_log_dirty_bitmap(struct domain *d) +/* get the top of the log-dirty bitmap trie, allocating if necessary */ +static mfn_t *paging_map_log_dirty_bitmap(struct domain *d) { mfn_t *mapping; diff --git a/xen/include/asm-x86/paging.h b/xen/include/asm-x86/paging.h index 1cba67cd11..a176c96877 100644 --- a/xen/include/asm-x86/paging.h +++ b/xen/include/asm-x86/paging.h @@ -134,9 +134,6 @@ struct paging_mode { /***************************************************************************** * Log dirty code */ -/* get the top of the log-dirty bitmap trie, allocating if necessary */ -mfn_t *paging_map_log_dirty_bitmap(struct domain *d); - /* free log dirty bitmap resource */ void paging_free_log_dirty_bitmap(struct domain *d);